import { get } from "@/utils/http";

// 分析统计-空域类型
const getSpaceTypeList = () => get(`/airspace/statistics/getSpaceTypeList`);

// 分析统计-活动类型
const getActivity = () => get(`/airspace/statistics/getActivity`);

// 分析统计-空域容流量监视
const getCapacityAndFlow = () => get(`/airspace/statistics/getCapacityAndFlow`);

// 分析统计-网格基本信息
const getGridTypeList = () => get(`/airspace/statistics/getGridTypeList`);

// 获取层级
const getLayers = () => get(`/airspace/statistics/getLayers`);

// 获取不同层数栅格
const getGrid = (layer) => get(`/airspace/getGrid?layer=${layer}`);

// 分析统计-冲突风险
const getRiskAndConflict = () => get(`/airspace/statistics/getRiskAndConflict`);

// 分析统计-势态监视
const getSituation = () => get(`/airspace/statistics/getSituation`);

// 信息统计表字段说明
const getList = () => get(`/airspace/statistics/getList`);

export default {
  getSpaceTypeList,
  getActivity,
  getCapacityAndFlow,
  getGridTypeList,
  getLayers,
  getGrid,
  getRiskAndConflict,
  getSituation,
  getList,
};
